﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using BoardPACDSBO.General;

namespace BoardPACDSWS.Base
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IAnonymousUserService" in both code and config file together.
    [ServiceContract]
    public interface IAnonymousUserService
    {
        [OperationContract]
        [FaultContract(typeof(GenFault))]
        void IsDeviceAllowed(RequestHeader request);

        [OperationContract]
        [FaultContract(typeof(GenFault))]
        byte? GetIsDeviceAllowed(string deviceId, string macAddress);

        [OperationContract]
        [FaultContract(typeof(GenFault))]
        int AddLog(string logInfo);
    }
}
